package com.black.pay.service.impl;

import com.black.pay.dao.MessageMapper;
import com.black.pay.model.Message;
import com.black.pay.model.MessageExample;
import com.black.pay.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MessageServiceImpl implements MessageService{
    @Autowired
    MessageMapper messageMapper;

    public void save(Message message) {
        messageMapper.insert(message);
    }
}
